package com.jbit.jboa.entity;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * Claimvoucher entity. @author MyEclipse Persistence Tools
 */

public class Claimvoucher implements java.io.Serializable {

	// Fields

	private BigDecimal id;
	private String nextDealSn;
	private String createSn;
	private Timestamp createTime;
	private String event;
	private BigDecimal totalAccount;
	private String status;
	private Set claimvoucherdetails = new HashSet(0);

	// Constructors

	/** default constructor */
	public Claimvoucher() {
	}

	/** minimal constructor */
	public Claimvoucher(BigDecimal id) {
		this.id = id;
	}

	/** full constructor */
	public Claimvoucher(BigDecimal id, String nextDealSn, String createSn,
			Timestamp createTime, String event, BigDecimal totalAccount,
			String status, Set claimvoucherdetails) {
		this.id = id;
		this.nextDealSn = nextDealSn;
		this.createSn = createSn;
		this.createTime = createTime;
		this.event = event;
		this.totalAccount = totalAccount;
		this.status = status;
		this.claimvoucherdetails = claimvoucherdetails;
	}

	// Property accessors

	public BigDecimal getId() {
		return this.id;
	}

	public void setId(BigDecimal id) {
		this.id = id;
	}

	public String getNextDealSn() {
		return this.nextDealSn;
	}

	public void setNextDealSn(String nextDealSn) {
		this.nextDealSn = nextDealSn;
	}

	public String getCreateSn() {
		return this.createSn;
	}

	public void setCreateSn(String createSn) {
		this.createSn = createSn;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public String getEvent() {
		return this.event;
	}

	public void setEvent(String event) {
		this.event = event;
	}

	public BigDecimal getTotalAccount() {
		return this.totalAccount;
	}

	public void setTotalAccount(BigDecimal totalAccount) {
		this.totalAccount = totalAccount;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Set getClaimvoucherdetails() {
		return this.claimvoucherdetails;
	}

	public void setClaimvoucherdetails(Set claimvoucherdetails) {
		this.claimvoucherdetails = claimvoucherdetails;
	}

}